<!DOCTYPE html>
<html>
<head>
    <#include "*/common.ftl">
</head>
<body class="childrenBody">
<form class="layui-form" style="width:80%;">
    <input name="id" type="hidden" value="${(contact.id)!}"/>
    <input name="cusId" type="hidden" value="${(customer.id)!}"/>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">交往时间</label>
        <div class="layui-input-inline">
            <input type="text" class="layui-input searchVal" name="contactTime" value="${(contact.contactTime)!}" id="time" placeholder="交往时间"/>
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">交往地点</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" lay-verify="required" name="address"
                   value="${(contact.address)!}" id="address" placeholder="请输入交往地点">
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">交往概述</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" lay-verify="required" name="overview"
                   value="${(contact.overview)!}" id="overview" placeholder="请输入交往概述">
        </div>
    </div>

    <br/>
    <div class="layui-form-item layui-row layui-col-xs12">
        <div class="layui-input-block">
            <button class="layui-btn layui-btn-lg" lay-submit="addOrUpdateCustomerContact" lay-filter="addOrUpdateCustomerContact">确认</button>
            <button class="layui-btn layui-btn-lg layui-btn-normal" id="closeBtn">取消</button>
        </div>
    </div>
</form>

<script type="text/javascript" src="${ctx.contextPath}/js/contact/add.update.js"></script>
</body>
</html>